#include "event/Event_RenderComp_Created.h"



using namespace Boon;
using namespace Rendering;

Boon::Event_RenderComp_Created::Event_RenderComp_Created( Renderer& r , const Rendering::ISceneNodeStrong& newNode )
	:	MessengerEventBase(),
		m_Renderer( r ),
		m_NewNode( newNode )
{

}


const EventType Boon::Event_RenderComp_Created::GetEventID() const
{
	return ID;
}

void Boon::Event_RenderComp_Created::Serialize( std::ostream& out ) const
{

}

Boon::IMessengerEventStrong Boon::Event_RenderComp_Created::Copy() const
{
	return new Event_RenderComp_Created( m_Renderer, m_NewNode );
}

const char* Boon::Event_RenderComp_Created::GetName() const
{
	return "Event_Created_RenderComp";
}

Boon::Event_RenderComp_Created::~Event_RenderComp_Created()
{

}
